home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / msdn.xml < prev    next >
Text File  |  2002-08-30  |  2KB  |  56 lines

  1. <search function="msdn">
  2.   <name>Microsoft Developer Network (MSDN)</name>
  3.   <description>
  4.     Search for articles on the MSDN.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>/library</td><td> - </td><td>Limits search to the MSDN Library.</td></tr>
  8.       </table>
  9.     <div class="helpboxDescLabels">Examples:</div>
  10.     <table class="helpboxDescTable">
  11.           <tr><td>msdn ocx</td></tr>
  12.           <tr><td>msdn iframes /library</td></tr>
  13.       </table>
  14.   </description>
  15.   <category>Computers</category>
  16.   <link>http://msdn.microsoft.com/</link>
  17.   <contributor>Ryan Edwards</contributor>
  18.   
  19.   <form name="msdnf"
  20.         action="http://msdn.microsoft.com/library/shared/searchtab/searchHandoff.asp" 
  21.         method="get">
  22.     <input type="hidden" id="qu" name="qu"/>
  23.     <input type="hidden" name="handoffurl" value="/isapi/gosearch.asp?TARGET=/us/dev/default.asp"/>
  24.     <input type="hidden" name="stcfg" value="/library/searchtabconfig.xml"/>
  25.     <input type="hidden" Name="scopeid"/>
  26.   </form>
  27.   
  28.   <script><![CDATA[
  29.     function msdn(q)
  30.     {
  31.       var args = parseArgs(q, "library");
  32.       if( nullArgs("msdn",q) )
  33.         return false;
  34.       else if( args.switches.length == 1 && args.switches[0].name == "library" )
  35.       {
  36.         document.msdnf.scopeid.value = "2";
  37.         document.msdnf.qu.value = args.q;
  38.         submitForm( msdnf );
  39.       }
  40.       else if( args.switches.length > 1 )
  41.         nullArgs("msdn","?");
  42.       else
  43.       {
  44.         document.msdnf.scopeid.value = "1";
  45.         document.msdnf.qu.value = args.q;
  46.         submitForm( msdnf );
  47.       }
  48.     }
  49.   ]]></script>
  50.  
  51.   <copyright>
  52.     Copyright (c) 2002 David Bau
  53.     Distributed under the terms of the
  54.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  55.   </copyright>
  56. </search>